﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C6B RID: 3179
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class NKFHBMJAOBM : IMessage<NKFHBMJAOBM>, IMessage, IEquatable<NKFHBMJAOBM>, IDeepCloneable<NKFHBMJAOBM>, IBufferMessage
	{
		// Token: 0x17002806 RID: 10246
		// (get) Token: 0x06008E0F RID: 36367 RVA: 0x001797B0 File Offset: 0x001779B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<NKFHBMJAOBM> Parser
		{
			get
			{
				return NKFHBMJAOBM._parser;
			}
		}

		// Token: 0x17002807 RID: 10247
		// (get) Token: 0x06008E10 RID: 36368 RVA: 0x001797B7 File Offset: 0x001779B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return NKFHBMJAOBMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002808 RID: 10248
		// (get) Token: 0x06008E11 RID: 36369 RVA: 0x001797C9 File Offset: 0x001779C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return NKFHBMJAOBM.Descriptor;
			}
		}

		// Token: 0x06008E12 RID: 36370 RVA: 0x001797D0 File Offset: 0x001779D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NKFHBMJAOBM()
		{
		}

		// Token: 0x06008E13 RID: 36371 RVA: 0x001797D8 File Offset: 0x001779D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NKFHBMJAOBM(NKFHBMJAOBM other) : this()
		{
			this.cFJKBJHNIJM_ = other.cFJKBJHNIJM_;
			this.trainPartyTag_ = other.trainPartyTag_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008E14 RID: 36372 RVA: 0x00179809 File Offset: 0x00177A09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NKFHBMJAOBM Clone()
		{
			return new NKFHBMJAOBM(this);
		}

		// Token: 0x17002809 RID: 10249
		// (get) Token: 0x06008E15 RID: 36373 RVA: 0x00179811 File Offset: 0x00177A11
		// (set) Token: 0x06008E16 RID: 36374 RVA: 0x00179819 File Offset: 0x00177A19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CFJKBJHNIJM
		{
			get
			{
				return this.cFJKBJHNIJM_;
			}
			set
			{
				this.cFJKBJHNIJM_ = value;
			}
		}

		// Token: 0x1700280A RID: 10250
		// (get) Token: 0x06008E17 RID: 36375 RVA: 0x00179822 File Offset: 0x00177A22
		// (set) Token: 0x06008E18 RID: 36376 RVA: 0x0017982A File Offset: 0x00177A2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TrainPartyTag
		{
			get
			{
				return this.trainPartyTag_;
			}
			set
			{
				this.trainPartyTag_ = value;
			}
		}

		// Token: 0x06008E19 RID: 36377 RVA: 0x00179833 File Offset: 0x00177A33
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as NKFHBMJAOBM);
		}

		// Token: 0x06008E1A RID: 36378 RVA: 0x00179841 File Offset: 0x00177A41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(NKFHBMJAOBM other)
		{
			return other != null && (other == this || (this.CFJKBJHNIJM == other.CFJKBJHNIJM && this.TrainPartyTag == other.TrainPartyTag && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008E1B RID: 36379 RVA: 0x00179880 File Offset: 0x00177A80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.CFJKBJHNIJM != 0U)
			{
				num ^= this.CFJKBJHNIJM.GetHashCode();
			}
			if (this.TrainPartyTag != 0U)
			{
				num ^= this.TrainPartyTag.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008E1C RID: 36380 RVA: 0x001798D8 File Offset: 0x00177AD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008E1D RID: 36381 RVA: 0x001798E0 File Offset: 0x00177AE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008E1E RID: 36382 RVA: 0x001798EC File Offset: 0x00177AEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CFJKBJHNIJM != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.CFJKBJHNIJM);
			}
			if (this.TrainPartyTag != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.TrainPartyTag);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008E1F RID: 36383 RVA: 0x00179948 File Offset: 0x00177B48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.CFJKBJHNIJM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CFJKBJHNIJM);
			}
			if (this.TrainPartyTag != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TrainPartyTag);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008E20 RID: 36384 RVA: 0x001799A0 File Offset: 0x00177BA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(NKFHBMJAOBM other)
		{
			if (other == null)
			{
				return;
			}
			if (other.CFJKBJHNIJM != 0U)
			{
				this.CFJKBJHNIJM = other.CFJKBJHNIJM;
			}
			if (other.TrainPartyTag != 0U)
			{
				this.TrainPartyTag = other.TrainPartyTag;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008E21 RID: 36385 RVA: 0x001799F0 File Offset: 0x00177BF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008E22 RID: 36386 RVA: 0x001799FC File Offset: 0x00177BFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.TrainPartyTag = input.ReadUInt32();
					}
				}
				else
				{
					this.CFJKBJHNIJM = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003637 RID: 13879
		private static readonly MessageParser<NKFHBMJAOBM> _parser = new MessageParser<NKFHBMJAOBM>(() => new NKFHBMJAOBM());

		// Token: 0x04003638 RID: 13880
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003639 RID: 13881
		public const int CFJKBJHNIJMFieldNumber = 3;

		// Token: 0x0400363A RID: 13882
		private uint cFJKBJHNIJM_;

		// Token: 0x0400363B RID: 13883
		public const int TrainPartyTagFieldNumber = 9;

		// Token: 0x0400363C RID: 13884
		private uint trainPartyTag_;
	}
}
